![]() |
WOLF core
WOLF: A Modular Estimation Framework for Robotics
|
Tree manager keeping a sliding window of the last keyframes: the oldest is removed and the first ones of the window are fixed. More...
#include <core/tree_manager/tree_manager_sliding_window.h>
Public Member Functions | |
| ~TreeManagerSlidingWindow () override | |
| void | keyFrameCallback (FrameBasePtr _frame) override |
| Manages the wolf tree when a new keyframe is created. More... | |
Public Member Functions inherited from wolf::TreeManagerBase | |
| virtual | ~TreeManagerBase () |
| Destructor. More... | |
| virtual void | keyFrameCallback (FrameBasePtr _key_frame)=0 |
| Manages the wolf tree when a new keyframe is created. More... | |
| bool | hasChildren () const override |
| Returns whether the node has children in the Wolf tree. More... | |
Public Member Functions inherited from wolf::NodeBase | |
| NodeBase (const std::string &_category, const std::string &_type="Undefined", const std::string &_name="") | |
| Constructor. More... | |
| virtual | ~NodeBase ()=default |
| Destructor. More... | |
| unsigned int | nodeId () const |
| Returns the node id, unique over the whole Wolf tree. More... | |
| std::string | getCategory () const |
| Returns the category of the node. More... | |
| std::string | getType () const |
| Returns the type (subcategory) of the node. More... | |
| std::string | getName () const |
| Returns the name of the node. More... | |
| bool | isRemoving () const |
| Returns whether the node is being removed. More... | |
| virtual bool | hasChildren () const =0 |
| Returns whether the node has children in the Wolf tree. More... | |
| void | setType (const std::string &_type) |
| Sets the type (subcategory) of the node. More... | |
| void | setName (const std::string &_name) |
| Sets the name of the node. More... | |
| ProblemConstPtr | getProblem () const |
| Returns the problem the node belongs to. More... | |
| ProblemPtr | getProblem () |
| Returns the problem the node belongs to. More... | |
Protected Member Functions | |
| TreeManagerSlidingWindow (const YAML::Node &_params) | |
| Constructor from YAML parameters. More... | |
Protected Member Functions inherited from wolf::TreeManagerBase | |
| TreeManagerBase (const std::string &_type, const YAML::Node &_params) | |
| Constructor from the derived class name and the YAML parameters. More... | |
Protected Member Functions inherited from wolf::NodeBase | |
| virtual void | setProblem (ProblemPtr _prob_ptr) |
| Sets the problem the node belongs to. More... | |
Protected Attributes | |
| unsigned int | n_frames_ |
| Number of keyframes of the window. More... | |
| unsigned int | n_fix_first_frames_ |
| Number of first keyframes of the window that are fixed. More... | |
| bool | viral_remove_parent_without_children_ |
| Whether to remove parents left without children. More... | |
Protected Attributes inherited from wolf::NodeBase | |
| ProblemWPtr | problem_ptr_ |
| Problem the node belongs to. More... | |
| unsigned int | node_id_ |
| Node id. It is unique over the whole Wolf Tree. More... | |
| std::string | node_category_ |
| Text label identifying the category of node ("SENSOR", "FEATURE", etc) More... | |
| std::string | node_type_ |
| Type or subcategory of node (derived class name: "SensorOdom2d", etc) More... | |
| std::string | node_name_ |
| bool | is_removing_ |
| A flag for safely removing nodes from the Wolf tree. See remove(). More... | |
Tree manager keeping a sliding window of the last keyframes: the oldest is removed and the first ones of the window are fixed.
|
protected |
Constructor from YAML parameters.
|
inlineoverride |
|
overridevirtual |
Manages the wolf tree when a new keyframe is created.
Implements wolf::TreeManagerBase.
Reimplemented in wolf::TreeManagerSlidingWindowDualRate.
|
protected |
Number of first keyframes of the window that are fixed.
|
protected |
Number of keyframes of the window.
|
protected |
Whether to remove parents left without children.